package com.example.communitypro.service;

import com.example.communitypro.pojo.LabelRelation;
import com.example.communitypro.util.result.Result;

import java.util.List;

public interface LabelRelationService {
    Result addLabelRelation(LabelRelation record);

    Result dropLabelRelation(Integer relationNo);

    Result modifyLabelRelation(LabelRelation record);

    Result queryLabelRelation(Integer relationNo);

    Result queryByOb(Integer obNo,Integer obType);

    Result changeLabelRe(List<LabelRelation> records); //新增和删除标签关系

    Result queryObByLabel(Integer labelNo); //查找某标签下所有帖子

    Result recommendPost(Integer userNo);
}
